lcWndRedrawAuto Home

Forces LiteCAD to multiple repaint a drawing in the window, by timer. Before each redraw Litecad will call the function pFunc of the following syntax:

void _stdcall Func (HANDLE hLcWnd, int Elapsed);

where parameter "Elapsed" is a number of milliseconds passed since end of previous redraw.

 BOOL lcWndRedrawAuto (
   HANDLE hLcWnd
   int Elapse
   F_REDRAW pFunc
 );

Parameters
hLcWnd
  Handle to LiteCAD graphics window.
Elapse
  The time-out value, in milliseconds.
Specify zero value to stop auto-redraw.
pFunc
  Pointer to the function, which will be called before each redraw.
Specify NULL to stop auto-redraw.

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

See Also

  Code sample